import request from '@/utils/request'

// 活动列表
export function getActivity(data) {
	return request({
		url: '/activity/page',
		'method': 'get',
		'data': data
	})
}
// 活动详情
export function getActivityItem(uuid) {
	return request({
		url: '/activity/get/' + uuid,
		'method': 'get'
	})
}
// /activity/receive
// 领取优惠卷
export function getActivityReceive(data) {
	return request({
		url: '/activity/receive',
		'method': 'post',
		'data': data
	})
}
// 已核销劵 /coupon/verify/page
export function getCouponVerify(data) {
	return request({
		url: '/coupon/verify/page',
		'method': 'get',
		'data': data
	})
}
// 已有券 
export function getCouponEffect(data) {
	return request({
		url: '/coupon/effect/page',
		'method': 'get',
		'data': data
	})
}
// 过期券
export function getCouponExpire(data) {
	return request({
		url: '/coupon/expire/page',
		'method': 'get',
		'data': data
	})
}